{"version":3,"sources":["script.js"],"names":["window","BX","CatalogMenu","items","idCnt","currentItem","overItem","outItem","timeoutOver","timeoutOut","getItem","item","type","isDomNode","id","isNotEmptyString","this","CatalogMenuItem","itemOver","menuItem","clearTimeout","setTimeout","itemOut","removeHover","curItem","parentNode","querySelectorAll","i","length","hasClass","removeClass","element","popup","findChild","className","isLastItem","lastChild","prototype","addClass","popupRightEdge","getBoundingClientRect","left","offsetWidth","document","body","clientWidth","style","right","namespace","Main","MenuComponent","CatalogHorizontal","menuBlockId","itemImgDesc","resizeMenu","bind","proxy","clickInMobile","event","findParent","preventDefault","onclick","toggleInMobile","parentObj","arrow","firstChild","templateWrap","menuMobile","querySelector","menuMobileButton","create","attrs","data-role","children","clone","insertBefore","events","click","overflow","changeSectionPicure","itemId","curLi","imgDescObj","imgObj","tagName","src","linkObj","href","descObj","innerHTML"],"mappings":"CAAA,SAAUA,GAET,IAAKA,EAAOC,IAAMA,GAAGC,YACpB,OAEDD,GAAGC,aACFC,SACAC,MAAQ,EACRC,YAAc,KACdC,SAAW,KACXC,QAAU,KACVC,YAAc,KACdC,WAAa,KAEbC,QAAU,SAASC,GAElB,IAAKV,GAAGW,KAAKC,UAAUF,GACtB,OAAO,KAER,IAAIG,GAAMH,EAAKG,KAAOb,GAAGW,KAAKG,iBAAiBJ,EAAKG,IAAOH,EAAKG,GAAK,aAAeE,KAAKZ,QAAWO,EAAKG,GAEzG,IAAKE,KAAKb,MAAMW,GACfE,KAAKb,MAAMW,GAAM,IAAIG,EAAgBN,GAEtC,OAAOK,KAAKb,MAAMW,IAGnBI,SAAW,SAASP,GAEnB,IAAIQ,EAAWH,KAAKN,QAAQC,GAC5B,IAAKQ,EACJ,OAED,GAAIH,KAAKT,SAAWY,EACpB,CACCC,aAAaD,EAASV,YAGvBO,KAAKV,SAAWa,EAEhB,GAAIA,EAASX,YACb,CACCY,aAAaD,EAASX,aAGvBW,EAASX,YAAca,WAAW,WACjC,GAAIpB,GAAGC,YAAYI,UAAYa,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